<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Blog" Namespace="CommunityServer.Blogs.Controls" Assembly="CommunityServer.Blogs" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Blogs.Components" %>

<div class="CommonSidebarArea">
	<h4 class="CommonSidebarHeader">
		<cs:ResourceControl ResourceName="PopularTags" runat="server" />
	</h4>
		<div class="CommonSidebarContent">
			<CS:TagCloud ApplicationType="weblog" TagCloudCssClasses="CommonTag6,CommonTag5,CommonTag4,CommonTag3,CommonTag2,CommonTag1" runat="server" id="TagCloud" MaximumNumberOfTags="25" ShowTagCounts="false" IgnoreFilterTags="true" CssClass="CommonSidebarTagCloud" />
		</div>
		<div class="CommonSidebarFooter">
			<a href="<%=SiteUrls.Instance().TagsHome %>"><cs:ResourceControl ResourceName="ViewAllTags" runat="server" /></a>
		</div>
</div>

<div class="CommonSidebarArea">
	<h4 class="CommonSidebarHeader"><cs:ResourceControl ResourceName="GroupOptions" runat="server" /></h4>
	<div class="CommonSidebarContent">
		<ul class="CommonSidebarList">
		<li class="CommonSidebarRssListItem"><a href="<%= CommunityServer.Blogs.Components.BlogUrls.Instance().GroupRss(CSContext.Current.GroupID, BlogMirrorDisplayType.AllBlogs) %>"><cs:ResourceControl runat="server" ResourceName="Syndication" /></a></li>
		<li><a href="<%= CommunityServer.Blogs.Components.BlogUrls.Instance().GroupOpml(CSContext.Current.GroupID) %>"><cs:ResourceControl runat="server" ResourceName="Opml" /></a></li>
		<li><a href="<%= CommunityServer.Blogs.Components.BlogUrls.Instance().GroupBloggers(CSContext.Current.GroupID) %>"><cs:ResourceControl runat="server" ResourceName="Bloggers" /></a></li>
		</ul>
    </div>
</div>

<Blog:AggregateGroupList ResourceNameTitle="Groups" UrlFormat="weblog_GroupHome" runat="server" id="ByGroup" ShowOnlyMultipleGroups="true">
	<SkinTemplate>
	<div class="CommonSidebarArea">
		<h4 class="CommonSidebarHeader"><CS:ResourceControl id="Title" runat="Server" /></h4>
		<div class="CommonSidebarContent">
			<asp:Repeater runat="Server" id="AggList">
				<HeaderTemplate>
					<ul class="CommonSidebarList">
				</HeaderTemplate>
				<ItemTemplate>
					<li><asp:HyperLink Runat="Server" id="AggLink" /></li>
				</ItemTemplate>
				<FooterTemplate>
					</ul>
				</FooterTemplate>
			</asp:Repeater>
		</div>
		<div class="CommonSidebarFooter">
			<a href="<%=CommunityServer.Blogs.Components.BlogUrls.Instance().Home %>"><cs:ResourceControl ResourceName="ViewAllGroups" runat="server" /></a>
		</div>
	</div>	
	</SkinTemplate>
</Blog:AggregateGroupList>
